home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
015
/
pcmagff.arc
/
FORMFEED.DOC
< prev
next >
Wrap
Text File
|
1986-07-16
|
918b
|
24 lines
From: PC Magazine Vol.5, Nr. 14, August 1986 Page 439 PC Tutor
Resident FORM-FEED Program Script entry by: Gary A. Smith
This is a stay resident program which allows you to send a form-feed to
the printer by pressing the Alt-PrtSc key.
The FORMFEED.COM file is created by DEBUG with the following command at
the DOS prompt.
DEBUG <FORMFEED.SCR
Note that FORMFEED.COM does not clear the keystroke from the keyboard
hardware but just branches to the previous Interrupt 9 keyboard handler
after it's done. Thus, if you load FORMFEED twice, you'll get two form-
feeds with an Alt-PrtSc.
Before writing the form-feed character (a hex 0Ch) out to the printer,
FORMFEED does a printer status call to Interrupt 17h, so it doesn't
hang if the printer is off-line.
_______________________________________________________________________
=== EOF ===